/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mysort;

import insertion.MyInsertion;
import selection.MySelection;

/**
 *
 * @author root
 */
public class MySort {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        int[] a = {38,60,56,88,0,-3,96,77};
//        a = MySelection.mySelect(a);//选择排序
//        a = MyInsertion.myInsertion(a);
        a = MyInsertion.myInsertion2(a);
        for(int tmp:a)
            System.out.print(tmp+",");
    }
    
}
